package action;

import java.util.ArrayList;
import java.util.List;
import model.Product;
import persistency.PersistencyException;
import persistency.Product_CRUD;
import com.opensymphony.xwork2.ActionSupport;

public class ProductForm  extends ActionSupport{
	
	private Product productBean;
	private String productId;
	private String message;
	
	public String execute() throws Exception {
		
		message = getProductId();
		System.out.println("in product update action");
		return "SUCCESS";

	}
	
	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public Product getProductBean() {
		return productBean;
	}

	public void setProductBean(Product productBean) {
		this.productBean = productBean;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

}
